import '@babel/polyfill'
import Es6Promise from 'es6-promise'
Es6Promise.polyfill()

import Vue from 'vue'
import App from './App.vue'

import router from './router'
import store from '@/store'
import {
  VueAxios
} from './utils/request'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueAreaLinkage from 'vue-area-linkage';
import 'vue-area-linkage/dist/index.css';
import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'

Vue.use(VXETable)

Vue.use(ElementUI);
Vue.use(VueAreaLinkage);

// mock
import '@/mock'

import '@/permission'

import "@/core"
import '@/utils/rem'

// 加载全局样式
import './assets/styles/nprogress.less'
import './assets/styles/index.less'


Vue.config.productionTip = false
Vue.use(VueAxios)




new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')